package org.cnbi.service.impl;

import java.util.List;
import java.util.Map;

import org.cnbi.dao.IHandleDao;
import org.cnbi.service.ITableService;
import org.cnbi.utils.pojo.SqlParamsBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
@Service("tableService")
public class ITableServiceImpl implements ITableService{
	
	@Autowired
	private IHandleDao handleDao;
	
	@SuppressWarnings("rawtypes")
	@Cacheable(value = "locationSearchCache", key = "#param.cacheKey")//cacheKey
	public List<Map> queryListMapBean(String sql,SqlParamsBean param){
		return handleDao.queryListMapBean(sql,param);
	}

	

}
